Tribe\Events\Views\V2\Template\Page S

Total Complexity 36
Dependencies 3
Dependents 4
Total lines 410
Lines of code 170
Logical lines of code 94
Comment lines 175
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
should_hijack_page_template()
A
53 8 23
restore_main_query()
S
54 5 21
get_path()
S
60 4 15
filter_prevent_edit_link()
S
60 4 14
maybe_hijack_main_query()
S
56 3 18
get_mocked_page()
S
51 1 29
maybe_hijack_page_template()
S
59 2 13
prevent_page_looping()
S
65 2 9
hijack_on_loop_start()
S
75 1 4
filter_remove_comments()
S
75 1 4
has_hijacked_posts()
S
80 1 3
get_hijacked_posts()
S
82 1 3
set_hijacked_posts()
S
81 1 3
hijack_the_post()
S
74 1 4
filter_hijack_page_content()
S
68 1 7